package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.dto.StoreContractDto;
import com.dingreading.cloud.admin.entity.StoreContract;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-11-19
 */
public interface StoreContractService extends IService<StoreContract> {

    Page<StoreContractDto> pageList(
            PageUtil pageUtil, String keyword, Integer depositStatus, Integer depositRefundStatus,
            Integer contractType, String beginDate, String endDate
    );

    boolean updateSignStatus(Long id, Integer signStatus);

    List<StoreContract> listByStoreUid(String storeUid);

}
